﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000463 RID: 1123
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnterMapRotationRegionCsReq : IMessage<EnterMapRotationRegionCsReq>, IMessage, IEquatable<EnterMapRotationRegionCsReq>, IDeepCloneable<EnterMapRotationRegionCsReq>, IBufferMessage
	{
		// Token: 0x17000E72 RID: 3698
		// (get) Token: 0x06003284 RID: 12932 RVA: 0x0008ACE7 File Offset: 0x00088EE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnterMapRotationRegionCsReq> Parser
		{
			get
			{
				return EnterMapRotationRegionCsReq._parser;
			}
		}

		// Token: 0x17000E73 RID: 3699
		// (get) Token: 0x06003285 RID: 12933 RVA: 0x0008ACEE File Offset: 0x00088EEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnterMapRotationRegionCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000E74 RID: 3700
		// (get) Token: 0x06003286 RID: 12934 RVA: 0x0008AD00 File Offset: 0x00088F00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnterMapRotationRegionCsReq.Descriptor;
			}
		}

		// Token: 0x06003287 RID: 12935 RVA: 0x0008AD07 File Offset: 0x00088F07
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterMapRotationRegionCsReq()
		{
		}

		// Token: 0x06003288 RID: 12936 RVA: 0x0008AD10 File Offset: 0x00088F10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterMapRotationRegionCsReq(EnterMapRotationRegionCsReq other) : this()
		{
			this.lGCHOINHLDJ_ = other.lGCHOINHLDJ_;
			this.motion_ = ((other.motion_ != null) ? other.motion_.Clone() : null);
			this.fPHPEJPOBGJ_ = other.fPHPEJPOBGJ_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003289 RID: 12937 RVA: 0x0008AD68 File Offset: 0x00088F68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterMapRotationRegionCsReq Clone()
		{
			return new EnterMapRotationRegionCsReq(this);
		}

		// Token: 0x17000E75 RID: 3701
		// (get) Token: 0x0600328A RID: 12938 RVA: 0x0008AD70 File Offset: 0x00088F70
		// (set) Token: 0x0600328B RID: 12939 RVA: 0x0008AD78 File Offset: 0x00088F78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LGCHOINHLDJ
		{
			get
			{
				return this.lGCHOINHLDJ_;
			}
			set
			{
				this.lGCHOINHLDJ_ = value;
			}
		}

		// Token: 0x17000E76 RID: 3702
		// (get) Token: 0x0600328C RID: 12940 RVA: 0x0008AD81 File Offset: 0x00088F81
		// (set) Token: 0x0600328D RID: 12941 RVA: 0x0008AD89 File Offset: 0x00088F89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MotionInfo Motion
		{
			get
			{
				return this.motion_;
			}
			set
			{
				this.motion_ = value;
			}
		}

		// Token: 0x17000E77 RID: 3703
		// (get) Token: 0x0600328E RID: 12942 RVA: 0x0008AD92 File Offset: 0x00088F92
		// (set) Token: 0x0600328F RID: 12943 RVA: 0x0008AD9A File Offset: 0x00088F9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FPHPEJPOBGJ
		{
			get
			{
				return this.fPHPEJPOBGJ_;
			}
			set
			{
				this.fPHPEJPOBGJ_ = value;
			}
		}

		// Token: 0x06003290 RID: 12944 RVA: 0x0008ADA3 File Offset: 0x00088FA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnterMapRotationRegionCsReq);
		}

		// Token: 0x06003291 RID: 12945 RVA: 0x0008ADB4 File Offset: 0x00088FB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnterMapRotationRegionCsReq other)
		{
			return other != null && (other == this || (this.LGCHOINHLDJ == other.LGCHOINHLDJ && object.Equals(this.Motion, other.Motion) && this.FPHPEJPOBGJ == other.FPHPEJPOBGJ && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003292 RID: 12946 RVA: 0x0008AE14 File Offset: 0x00089014
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LGCHOINHLDJ != 0U)
			{
				num ^= this.LGCHOINHLDJ.GetHashCode();
			}
			if (this.motion_ != null)
			{
				num ^= this.Motion.GetHashCode();
			}
			if (this.FPHPEJPOBGJ != 0U)
			{
				num ^= this.FPHPEJPOBGJ.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003293 RID: 12947 RVA: 0x0008AE82 File Offset: 0x00089082
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003294 RID: 12948 RVA: 0x0008AE8A File Offset: 0x0008908A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003295 RID: 12949 RVA: 0x0008AE94 File Offset: 0x00089094
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LGCHOINHLDJ != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.LGCHOINHLDJ);
			}
			if (this.motion_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.Motion);
			}
			if (this.FPHPEJPOBGJ != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.FPHPEJPOBGJ);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003296 RID: 12950 RVA: 0x0008AF0C File Offset: 0x0008910C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LGCHOINHLDJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LGCHOINHLDJ);
			}
			if (this.motion_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Motion);
			}
			if (this.FPHPEJPOBGJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FPHPEJPOBGJ);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003297 RID: 12951 RVA: 0x0008AF7C File Offset: 0x0008917C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnterMapRotationRegionCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LGCHOINHLDJ != 0U)
			{
				this.LGCHOINHLDJ = other.LGCHOINHLDJ;
			}
			if (other.motion_ != null)
			{
				if (this.motion_ == null)
				{
					this.Motion = new MotionInfo();
				}
				this.Motion.MergeFrom(other.Motion);
			}
			if (other.FPHPEJPOBGJ != 0U)
			{
				this.FPHPEJPOBGJ = other.FPHPEJPOBGJ;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003298 RID: 12952 RVA: 0x0008AFF8 File Offset: 0x000891F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003299 RID: 12953 RVA: 0x0008B004 File Offset: 0x00089204
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 50U)
					{
						if (num != 104U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.FPHPEJPOBGJ = input.ReadUInt32();
						}
					}
					else
					{
						if (this.motion_ == null)
						{
							this.Motion = new MotionInfo();
						}
						input.ReadMessage(this.Motion);
					}
				}
				else
				{
					this.LGCHOINHLDJ = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040013D4 RID: 5076
		private static readonly MessageParser<EnterMapRotationRegionCsReq> _parser = new MessageParser<EnterMapRotationRegionCsReq>(() => new EnterMapRotationRegionCsReq());

		// Token: 0x040013D5 RID: 5077
		private UnknownFieldSet _unknownFields;

		// Token: 0x040013D6 RID: 5078
		public const int LGCHOINHLDJFieldNumber = 2;

		// Token: 0x040013D7 RID: 5079
		private uint lGCHOINHLDJ_;

		// Token: 0x040013D8 RID: 5080
		public const int MotionFieldNumber = 6;

		// Token: 0x040013D9 RID: 5081
		private MotionInfo motion_;

		// Token: 0x040013DA RID: 5082
		public const int FPHPEJPOBGJFieldNumber = 13;

		// Token: 0x040013DB RID: 5083
		private uint fPHPEJPOBGJ_;
	}
}
